import request from '@/utils/request'

// 查询工资发放列表
export function listGzff(query) {
  return request({
    url: '/basebill/gzff/list',
    method: 'get',
    params: query
  })
}

// 查询工资发放详细
export function getGzff(fid) {
  return request({
    url: '/basebill/gzff/' + fid,
    method: 'get'
  })
}

// 新增工资发放
export function addGzff(data) {
  return request({
    url: '/basebill/gzff',
    method: 'post',
    data: data
  })
}

// 修改工资发放
export function updateGzff(data) {
  return request({
    url: '/basebill/gzff',
    method: 'put',
    data: data
  })
}

// 删除工资发放
export function delGzff(fid) {
  return request({
    url: '/basebill/gzff/' + fid,
    method: 'delete'
  })

}

export function importGzff(fid) {
  return request({
    url: '/basebill/gzff/importGzff/' + fid,
    method: 'get'
  })
}

